﻿<Window x:Class="MMessaging.Test.Fahrstuhl.Views.ElevatorView"
		xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
		xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
		xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
		mc:Ignorable="d"
		xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
		xmlns:l="clr-namespace:MMessaging.Test.Fahrstuhl.Views"
		Title="MainWindow"
		Height="350"
		Width="525"
		d:DataContext="{d:DesignInstance Type=l:ElevatorView, IsDesignTimeCreatable=True}">
	<Grid>
		<Rectangle Height="299"
				   HorizontalAlignment="Left"
				   Margin="45,0,0,0"
				   Name="rectangle1"
				   Stroke="Black"
				   VerticalAlignment="Top"
				   Width="84" />
		<Rectangle Height="6"
				   HorizontalAlignment="Left"
				   Margin="136,79,0,0"
				   Name="rectangle3"
				   Stroke="Black"
				   VerticalAlignment="Top"
				   Width="256" />
		<Rectangle Height="6"
				   HorizontalAlignment="Left"
				   Margin="136,172,0,0"
				   Name="rectangle4"
				   Stroke="Black"
				   VerticalAlignment="Top"
				   Width="256" />
		<Rectangle Height="6"
				   HorizontalAlignment="Left"
				   Margin="136,284,0,0"
				   Name="rectangle5"
				   Stroke="Black"
				   VerticalAlignment="Top"
				   Width="256" />
		<Button Content="Want Down"
				Height="28"
				HorizontalAlignment="Left"
				Margin="138,33,0,0"
				Name="bttnLevel2Down"
				VerticalAlignment="Top"
				Width="84"
				Click="bttnLevel2Down_Click" />
		<Button Content="Want Up"
				Height="28"
				HorizontalAlignment="Left"
				Margin="136,91,0,0"
				Name="bttnLevel1Up"
				VerticalAlignment="Top"
				Width="86"
				Click="bttnLevel1Up_Click" />
		<Button Content="Want Down"
				Height="28"
				HorizontalAlignment="Left"
				Margin="138,138,0,0"
				Name="bttnLevel1Down"
				VerticalAlignment="Top"
				Width="84"
				Click="bttnLevel1Down_Click" />
		<Button Content="Want Up"
				Height="28"
				HorizontalAlignment="Left"
				Margin="138,250,0,0"
				Name="bttnLevel0Up"
				VerticalAlignment="Top"
				Width="84"
				Click="bttnLevel0Up_Click" />
		<Canvas Margin="{Binding Model.ElevatorMargin}">
			<Rectangle Height="76"
					   HorizontalAlignment="Left"
					   Name="rectangle2"
					   Stroke="Black"
					   VerticalAlignment="Top"
					   Width="65"
					   Fill="#FFD1FFD6"></Rectangle>
			<StackPanel Orientation="Horizontal">
				<Button Content="0"
						Height="22"
						HorizontalAlignment="Left"
						Name="bttnInside0"
						Width="14"
						Padding="0"
						VerticalContentAlignment="Top"
						HorizontalContentAlignment="Left"
						Click="bttnInside0_Click" />
				<Button Content="1"
						Height="22"
						HorizontalAlignment="Left"
						Name="bttnInside1"
						Width="14"
						Padding="0"
						VerticalContentAlignment="Top"
						HorizontalContentAlignment="Left"
						Click="bttnInside1_Click" />
				<Button Content="2"
						Height="21"
						HorizontalAlignment="Left"
						Name="bttnInside2"
						VerticalAlignment="Top"
						Width="14"
						Padding="0"
						VerticalContentAlignment="Top"
						HorizontalContentAlignment="Left"
						Click="bttnInside2_Click" />
			</StackPanel>
		</Canvas>
	</Grid>
</Window>
